package com.pro.xwt.common.utils.model;

import java.util.HashMap;
import java.util.Map;

public class Authority {
	private static Map<String, String> map = new HashMap<String, String>();
	private static String admin = "post-/projects,patch-/projects/{id},put-/projects/{id}/projFlows,delete-/projects/{id}/projFlows/{id},"
			+ "put-/projects/{id}/projFlows/{id},get-/projects/{id},post-/projFlows,"
			+ "patch-/task/{id},put-/task/{id},get-/projects/{id}/projFlows/{id}/tasks,"
			+ "get-/employees/{id}/tasks,post-/folders,delete-/folders,"
			+ "post-/files/upload,delete-/files/{id},post-/share,"
			+ "patch-/employees/{id},get-/employees/{id}/projects,get-/templates,get-/departments/{id}/employees,"
			+ "get-/employees/{id}/messages,get-/tasks,patch-/tasks/{id},get-/projects/{id}/projFlows,get-/treeNode/deptEmp,"
			+ "get-/projects/{id}/files,get-/folders/{id}/files,get-/files/{id}/,"
			+ "get-/projects/{id}/employees,post-/projects/{id}/employees,delete-/projects/{id}/employees/{id},"
			+ "post-/tasks,"
			+ "patch-/projects/{id},delete-/projects/{id},delete-/projFlows/{id}/projects/{id},delete-/tasks/{id}"
			+ "patch-/folders/{id}/projects/{id},delete-/folders/{id}/projects/{id},patch-/files/{id}/projects/{id},"
			+ "delete-/files/{id}/projects/{id},patch-/projFlows/{id}/projects/{id},post-/projects/{id},post-/projects/{id}/overTimeTasks,"
			+ "post-/projects/{id}/logs,patch-/projFlows/tasks/{id}";
	private static String part = "post-/projects,patch-/projects/{id},put-/projects/{id}/projFlows,delete-/projects/{id}/projFlows/{id},"
			+ "put-/projects/{id}/projFlows/{id},get-/projects/{id},post-/projFlows,"
			+ "patch-/task/{id},put-/task/{id},get-/projects/{id}/projFlows/{id}/tasks,"
			+ "get-/employees/{id}/tasks,post-/folders,delete-/folders,"
			+ "post-/files/upload,delete-/files/{id},post-/share,"
			+ "patch-/employees/{id},get-/employees/{id}/projects,get-/templates,get-/departments/{id}/employees,"
			+ "get-/employees/{id}/messages,get-/tasks,patch-/tasks/{id},get-/projects/{id}/projFlows,get-/treeNode/deptEmp,"
			+ "get-/projects/{id}/files,get-/folders/{id}/files,get-/files/{id}/,"
			+ "get-/projects/{id}/employees,post-/projects/{id}/employees,delete-/projects/{id}/employees/{id},"
			+ "post-/tasks"
			+ "patch-/projects/{id},delete-/projects/{id},delete-/projFlows/{id}/projects/{id},delete-/tasks/{id}"
			+ "patch-/folders/{id}/projects/{id},delete-/folders/{id}/projects/{id},patch-/files/{id}/projects/{id},"
			+ "delete-/files/{id}/projects/{id},patch-/projFlows/{id}/projects/{id},post-/projects/{id},post-/projects/{id}/overTimeTasks,"
			+ "post-/projects/{id}/logs,patch-/projFlows/tasks/{id}";
//			"get-/projects/{id},post-/task,"
//			+ "patch-/task/{id},put-/task/{id},get-/projects/{id}/projFlows/{id}/tasks,"
//			+ "get-/employees/{id}/tasks,"
//			+ "post-/files/upload,post-/share,"
//			+ "patch-/employees/{id},get-/employees/{id}/projects,get-/templates,get-/departments/{id}/employees,"
//			+ "get-/employees/{id}/messages,get-/tasks,patch-/tasks/{id},get-/projects/{id}/projFlows,get-/treeNode/deptEmp,"
//			+ "get-/projects/{id}/files,get-/folders/{id}/files,get-/files/{id}/,"
//			+ "get-/projects/{id}/employees,"+ "post-/tasks";
	
	public static Map<String, String> getMap() {
		map.put("ADMIN", admin);
		map.put("PART", part);
		return map;
	}
}
